import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Boton créditos
 * 
 * @author Alejandro Caldera 
 * @version (a vers number or a date)
 */
public class Credits  extends Boton
{
    
     public Credits(Nivel1 world)
    {
        super(world);
    }
    /**
     * Act - do whatever the play wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        if(Greenfoot.mouseClicked(this))
        {         
          super.entracreditos();
        }
    }    
}
